package com.sh.data.engine.domain.feign;

import com.alibaba.fastjson2.JSONObject;
import com.sh.data.engine.domain.Isfd.domain.LoginData;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(url = "${map.isfd.url}", name = "FeignGenerateToken")
public interface FeignGenerateToken {
    @PostMapping(value = "/auth/login")
    JSONObject getMap(@RequestBody LoginData loginData);
}
